/**
 * User: emikolenko
 * Date: 26.03.2008
 * Time: 15:20:28
 */
package my.engine.services.settings.service;

import my.engine.objects.entities.Property;
import my.engine.utils.SettingsUtil;

import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.xml.ws.Endpoint;
import java.util.List;

@WebService()
public class SettingsService {

    @WebMethod
    public List<Property> getPortalPrefs() {
        return SettingsUtil.getPortalPropsAsObjects();
    }

    @WebMethod
    public void setPortalPrefs(List<Property> props) {
        SettingsUtil.setPortalPropsAsObjects(props);
    }


}